package com.wuhan.template.module.find.common;

import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;

import com.wuhan.template.R;

/**
 * Created by Administrator on 2016/5/11.
 */
public class Common {

    public static void setTitle(String title, int layoutId, LayoutInflater inflater) {
        View v = inflater.inflate(R.layout.title_layout, null);
        TextView titleView = (TextView) v.findViewById(R.id.tv_common_title);
        titleView.setText(title);
    }


}
